<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/10/17 0017
  Time: 19:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="/static/js/plugins/bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet"/>
    <link href="/static/js/plugins/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/static/js/plugins/layui/css/layui.css">
    <link href="/static/css/list.css" rel="stylesheet">

</head>
<body>

<div class="main">
    <span class="layui-breadcrumb">
         <a href="/index"target="_top">首页</a>
         <a href="/vote/list">投票管理</a>
         <a><cite>列表</cite></a>
    </span>
    <div id="toolbar" class="btn-group">
        <c:forEach items="${buttons}" var="premi">
            <button id="${premi.buttonId}" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>${premi.name}
            </button>
        </c:forEach>
    </div>
    <table id="tb_departments"></table>
    <div id="qrcode">
         <div id="code"></div>
         <a href=""target="_blank">点击进行投票</a>
    </div>

</div>
<script src="/static/js/plugins/jquery.js"></script>
<script src="/static/js/plugins/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="/static/js/plugins/bootstrap-table/bootstrap-table.js"></script>
<script src="/static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script>
<script src="/static/js/plugins/layui/layui.js"></script>
<script src="/static/js/plugins/qrcode.js"></script>
<script src="/static/js/vote/list.js"></script>
</body>
</html>
